/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.plkobey.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.assignment2.plkobey.Department;
import za.ac.cput.assignment2.plkobey.impl.Course;

/**
 *
 * @author Siya
 */
@Configurable
public class AppConfig {
    
    @Bean(name = "register")
    public Department register(){
        
        return new Course();
    }
}
